import React from 'react'
import { Form, Checkbox } from 'antd'
import PropTypes from 'prop-types'
import { DictionaryItem } from '@js/dictionary';
const { Item } = Form
const options = [
  { label: '金融', value: '金融案件' }
]

interface Props {
  dictionary: { [k: string]: DictionaryItem[] }
}
function Main ({ dictionary }: Props) {
  return (
    <Item label='案由大类' name='causeactionType'>
      <Checkbox.Group options={options} />
    </Item>
  )
}

Main.propTypes = {
  dictionary: PropTypes.object
}

Main.defaultProps = {
  dictionary: {}
}

export default Main
